import * as cp from 'child_process';
import * as os from 'os';
import * as path from 'path';

if (os.platform() === "linux") {
    cp.execSync("chmod 777 " + path.join(__dirname, "../unrar"));
}
